package com.group6.exam.manager.service;

import java.util.List;
import java.util.Map;

import com.group6.exam.common.entity.PageModel;

public interface IRoleService {

	public List<Map<String, Object>> getAllRole();

	public PageModel check(PageModel pageModel);

	public int deleteRole(String roleId);

	public int addRole(String roleName);

	public Map<String, Object> initRole(String roleId);

	public int update(String roleName, String roleId);

	public String getRights();

	public String getMeunsByRoleId(String roleId);

	public boolean grant(String rightIds, String roleId);

}
